/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using AVOL.Entity.SystemModels;

namespace AVOL.Entity.DomainModels
{
    [Entity(TableCnName = "维修单",TableName = "RepairBill")]
    public partial class RepairBill:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="RepairBillId")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Required(AllowEmptyStrings=false)]
       public Guid RepairBillId { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="RepairBillCode")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Required(AllowEmptyStrings=false)]
       public string RepairBillCode { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="RepairBillName")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Required(AllowEmptyStrings=false)]
       public string RepairBillName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="LedgerId")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Required(AllowEmptyStrings=false)]
       public Guid LedgerId { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="RepairsTime")]
       [Column(TypeName="datetime")]
       [Required(AllowEmptyStrings=false)]
       public DateTime RepairsTime { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="AddName")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string AddName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="UpdateName")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string UpdateName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="DelName")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string DelName { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="AddTime")]
       [Column(TypeName="datetime")]
       public DateTime? AddTime { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="UpdateTime")]
       [Column(TypeName="datetime")]
       public DateTime? UpdateTime { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="DelTime")]
       [Column(TypeName="datetime")]
       public DateTime? DelTime { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="Remarks")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string Remarks { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="IsDel")]
       [Column(TypeName="int")]
       public int? IsDel { get; set; }

       
    }
}